<?php
$this->title = Yii::$app->name;
?>

<div class="site-index container">
    <div class="row">
        <?php
        $carousel    = Yii::createObject([
                    'class' => '\yiike\cms\widgets\DbCarousel',
                    'key'   => 'home-block'
        ]);
        ?>
        <?php foreach ($carousel->items as $v) : ?>
            <div class="col-lg-4 home-image-block">
                <?= $v['content'] ?>
            </div>
        <?php endforeach; ?>
    </div>
</div>
